﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using CttAdministracion.Modelo;

namespace CttAdministracion.Controlador.Provincias
{
    class provinciasControler
    {
        compartetutiempoEntities db = new compartetutiempoEntities();
        public IEnumerable cargaComboProvincias()
        {

            var proQuery = from prov in db.provincias
                           select prov.nombre;
            var pro = proQuery.ToList();
            pro.Insert(0," ");
            
            return pro;
        }

    }


}
